package com.hirsi.module.menu.mapper;

import com.hirsi.module.menu.entity.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hirsi.module.menu.vo.result.PermissionResult;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 菜单表(开发环境可维护) Mapper 接口
 * </p>
 *
 * @author Hirsi
 * @since 2024-03-12
 */
@Mapper
public interface MenuMapper extends BaseMapper<Menu> {

    List<PermissionResult.MenuPermission> selectPermissionResult(@Param("managerId") Integer managerId);
}
